package com.tengju.bff.interfaces.manage.crm.brand.form;

import com.tengju.user.domain.model.PageQuery;
import com.tengju.user.domain.model.user.UserIdCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 *
 * @Date: 2021/5/10 16:30
 * @Description:
 */
@Data
@ApiModel(value = "BrandMarketSortSECQueryForm", description = "品牌分析销售榜请求参数(SEC)")
public class BrandMarketSortSECQueryForm extends PageQuery implements Serializable{

    @NotNull(message = "日期类型不能为空")
    @ApiModelProperty("日期类型 1：当月  2：上月  3：本季度")
    private Integer dateType;

    @ApiModelProperty("所属SEC的idCode")
    private Long secIdCode;

    @ApiModelProperty("最小销售额")
    private BigDecimal minSellAccount;

    @ApiModelProperty("最大销售额")
    private BigDecimal maxSellAccount;

    @ApiModelProperty(value = "排序字段")
    private String orderColumn;

    @ApiModelProperty(value = "类型：asc，desc")
    private String orderType;

    private List<UserIdCode> genSecIdCodes;
}
